
function renderRadioHead(thElem, col) {
    thElem.className = 'et-radio-th';
}

function renderRadioBody(tdElem, col, rawData) {
    let checkboxElem = document.createElement('input');
    checkboxElem.type = 'radio';
    //设置name值  同一name 的单选框自动支持单选
    checkboxElem.name = tdElem.parentNode.parentNode.parentNode.id;
    tdElem.appendChild(checkboxElem);
}



export { renderRadioHead, renderRadioBody };